package com.jfl.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jfl.base.BaseModel;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 会话
 * 
 * @author 赵炎
 * @version [V1.00, 2018年12月5日]
 * @since V1.00
 */
@SuppressWarnings("serial")
@TableName("tbl_sys_session")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysSession extends BaseModel
{
    
    
    @TableField("session_id")
    private String sessionId;
    
    @TableField("user_name")
    private String userName;
    
    @TableField("ip")
    private String ip;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @TableField("start_time")
    private Date startTime;
}
